﻿namespace DreamBuilder.Common
{
    using DreamBuilder.Core.Message;
    using System.Collections.Generic;
    using System.Data;

    public interface IBusiness
    {
        ResultInfo CheckForeignKeyRestrict(DataSet dsInfo);
        ResultInfo CheckLogic(DataSet dsInfo);
        ResultInfo CheckUniqueRestrict(DataSet dsInfo);
        ResultInfo Delete(List<IDeleteData> deleteList);
        ResultInfo Delete(DataSet dsInfo);
        ResultInfo DeleteCheck(List<IDeleteData> deleteList);
        ResultInfo DeleteCheck(DataSet dsInfo);
        ResultInfo Save(DataSet dsInfo);
        ResultInfo SaveCheck(DataSet dsInfo);
    }
}

